{%extends 'baseerror.html'%}

{%block refresh%}<meta http-equiv="refresh" content="120">{%endblock%}
{%block title%}<title>{{title}}</title>{%endblock%}

{%block style%}

{%endblock%}

{%block head1%}<h1>{{title}}</h1>{%endblock%}

{%block leftcolumn%}{%endblock%}
{%block middlecolumn%}<p style="text-align: center;"><a href={{url_for(link)}}>返回先前页面</a></p>{%endblock%}}

{%block rightcolumn%}{%endblock%}}

{%block replace%}
<ul>
    {% for field in errors %}
    {% for message in field.messages %}
    <li>{{ message }}</li>
    {% endfor %}
    {% endfor %}
</ul>
{%endblock%}